package cn.tj212.xiaoyin.core.course.service;

import cn.tj212.xiaoyin.common.page.TailPage;
import cn.tj212.xiaoyin.core.course.domain.Course;
import cn.tj212.xiaoyin.core.course.domain.CourseQueryDto;

import java.util.List;

public interface ICourseService {

    public Course getById(Long courseId);

    public List<Course> queryList(CourseQueryDto queryEntity);

    public TailPage<Course> queryPage(Course queryEntity,TailPage<Course> page);

    public void createSelectivity(Course entity);

    public void updateSelectivity(Course entity);

    public void delete(Course entity);

    public void deleteLogic(Course entity);
}
